package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.sql.Types;
import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_recovery_reward",autoSave = true,uploadCk = true,desc = "找回系统日志")
public class LogRecoveryRewardResult extends ServerBaseLog{
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "userId", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "当前身份等级")
    private int titleId;
    @FieldTypeAnnotation(desc = "离线天数")
    private int offlineDay;
    @FieldTypeAnnotation(desc = "系统id")
    private int systemId;
    @FieldTypeAnnotation(desc = "找回次数")
    private int recoveryTime;
    @FieldTypeAnnotation(desc = "找回内容",sqlType = Types.LONGNVARCHAR)
    private String recoveryReward;
    @FieldTypeAnnotation(desc = "折损比")
    private int discountParameter;
    @FieldTypeAnnotation(desc = "找回时间")
    private Date date;
    @FieldTypeAnnotation(desc = "额外字段",sqlType = Types.LONGNVARCHAR)
    private String extendParam;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getTitleId() {
        return titleId;
    }

    public void setTitleId(int titleId) {
        this.titleId = titleId;
    }

    public int getOfflineDay() {
        return offlineDay;
    }

    public void setOfflineDay(int offlineDay) {
        this.offlineDay = offlineDay;
    }

    public int getSystemId() {
        return systemId;
    }

    public void setSystemId(int systemId) {
        this.systemId = systemId;
    }

    public int getRecoveryTime() {
        return recoveryTime;
    }

    public void setRecoveryTime(int recoveryTime) {
        this.recoveryTime = recoveryTime;
    }

    public String getRecoveryReward() {
        return recoveryReward;
    }

    public void setRecoveryReward(String recoveryReward) {
        this.recoveryReward = recoveryReward;
    }

    public int getDiscountParameter() {
        return discountParameter;
    }

    public void setDiscountParameter(int discountParameter) {
        this.discountParameter = discountParameter;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getExtendParam() {
        return extendParam;
    }

    public void setExtendParam(String extendParam) {
        this.extendParam = extendParam;
    }

    public LogRecoveryRewardResult(int activityId, long userId, int titleId, int offlineDay, int systemId, int recoveryTime, String recoveryReward, int discountParameter, Date date, String extendParam) {
        this.activityId = activityId;
        this.userId = userId;
        this.titleId = titleId;
        this.offlineDay = offlineDay;
        this.systemId = systemId;
        this.recoveryTime = recoveryTime;
        this.recoveryReward = recoveryReward;
        this.discountParameter = discountParameter;
        this.date = date;
        this.extendParam = extendParam;
    }
}
